package bean;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * DestSnapshot entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class DestSnapshot implements java.io.Serializable {

	// Fields

	private Integer DSnapId;
	private User user;
	private String snapTitle;
	private String snapFile;
	private Date uploadedAt;
	private Byte isprofilephoto;
	private Set destSnapComments = new HashSet(0);

	// Constructors

	/** default constructor */
	public DestSnapshot() {
	}

	/** minimal constructor */
	public DestSnapshot(Integer DSnapId, User user, String snapTitle,
			String snapFile, Date uploadedAt, Byte isprofilephoto) {
		this.DSnapId = DSnapId;
		this.user = user;
		this.snapTitle = snapTitle;
		this.snapFile = snapFile;
		this.uploadedAt = uploadedAt;
		this.isprofilephoto = isprofilephoto;
	}

	/** full constructor */
	public DestSnapshot(Integer DSnapId, User user, String snapTitle,
			String snapFile, Date uploadedAt, Byte isprofilephoto,
			Set destSnapComments) {
		this.DSnapId = DSnapId;
		this.user = user;
		this.snapTitle = snapTitle;
		this.snapFile = snapFile;
		this.uploadedAt = uploadedAt;
		this.isprofilephoto = isprofilephoto;
		this.destSnapComments = destSnapComments;
	}

	// Property accessors

	public Integer getDSnapId() {
		return this.DSnapId;
	}

	public void setDSnapId(Integer DSnapId) {
		this.DSnapId = DSnapId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getSnapTitle() {
		return this.snapTitle;
	}

	public void setSnapTitle(String snapTitle) {
		this.snapTitle = snapTitle;
	}

	public String getSnapFile() {
		return this.snapFile;
	}

	public void setSnapFile(String snapFile) {
		this.snapFile = snapFile;
	}

	public Date getUploadedAt() {
		return this.uploadedAt;
	}

	public void setUploadedAt(Date uploadedAt) {
		this.uploadedAt = uploadedAt;
	}

	public Byte getIsprofilephoto() {
		return this.isprofilephoto;
	}

	public void setIsprofilephoto(Byte isprofilephoto) {
		this.isprofilephoto = isprofilephoto;
	}

	public Set getDestSnapComments() {
		return this.destSnapComments;
	}

	public void setDestSnapComments(Set destSnapComments) {
		this.destSnapComments = destSnapComments;
	}

}